package com.qf.vo;

import com.qf.enums.CustomerEnum;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor

public class ResultVO {

    private Integer code;
    private String msg;
    private String data;

    public ResultVO(){};
    public ResultVO(CustomerEnum customerEnum){
        this.code=customerEnum.getCode();
        this.msg=customerEnum.getMsg();
    }

}
